<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<x:parse xml="${param.xmlstr}" var="xmlData"/>
<c:set var="nature_value">
    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value"/>
</c:set>
<div class="t_bar">
   实验室（中心）基本情况
</div>
<table class="t_css" id="basic_tab" width="100%" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <col style="width: 21%"/>
    <col style="width: 18%"/>
    <col style="width: 21%"/>
    <tr class="li_1">
        <td align="right" rowspan="5">实验室（中心）名称：</td>
        <td align="right"><span class="color_red">*</span>名称：</td>
        <td colspan="3">
            <input type="text" name="proposal/zh_title" id="zh_title" style="width: 82%;" class="required"
                   maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title"/>" label="实验室（中心）名称-->名称">
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>英文名称：</td>
        <td colspan="3">
            <input type="text" name="proposal/en_title" id="en_title" style="width: 82%;" class="required"
                   maxlength="100" value="<x:out select="$xmlData/data/proposal/en_title"/>" label="实验室（中心）名称-->英文名称">
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>平台研究领域：</td>
        <td colspan="3">
            <input type="text" name="proposal/platform_research_field"  style="width: 82%;" class="required"
                   maxlength="50" value="<x:out select="$xmlData/data/proposal/platform_research_field"/>" label="实验室（中心）名称-->平台研究领域">
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>平台类别：</td>
        <td colspan="3">
            <cpt:checkbox key="platform" name="platform" tagType="radio" repeatColumn="2"
                          style="border: 0px; padding: 0px; margin: 0px;"/>
            <input type="hidden" name="proposal/platform_value" class="required" label="实验室（中心）名称-->平台类别"
                   value="<x:out select="$xmlData/data/proposal/platform_value" />"/>
            <input type="hidden" name="proposal/platform_name"
                   value="<x:out select="$xmlData/data/proposal/platform_name" />"/>
        </td>
    </tr>
    <tr>
        <td align="right" ><span class="color_red">*</span>认定日期：</td>
        <td><c:set var="hold_date">
            <x:out select="$xmlData/data/proposal/hold_date"/>
        </c:set> <cpt:date id="hold_date" name="proposal/hold_date"
                           value="${hold_date}" className=" required date" label="实验室（中心）名称-->认定日期"/>
        </td>
        <td align="right" >验收日期：</td>
        <td><c:set var="completion_date">
            <x:out select="$xmlData/data/proposal/completion_date"/>
        </c:set> <cpt:date id="completion_date" name="proposal/completion_date"
                           value="${completion_date}" className=" date" label="实验室（中心）名称-->验收日期"/>
        </td>
    </tr>
    <tr>
        <td rowspan="3" align="right"><span class="color_red">*</span>实验室（中心）主任：</td>
        <td align="right">姓名：</td>
        <td>
            <span name="proposal/fzr_psnname"><x:out
                    select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/></span>
        </td>
        <td align="right">出生日期：</td>
        <td>
            <span name="proposal/fzr_birthday"><x:out
                    select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/birthday"/></span>

        </td>
    </tr>
    <tr>
        <td align="right">职称：</td>
        <td>
            <span name="proposal/fzr_prof_title_name"><x:out
                    select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/prof_title_name"/></span>
        </td>
        </td>
        <td align="right">研究领域：</td>
        <td>
            <span name="proposal/fzr_subject_name"><x:out
                    select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/subject_name"/></span>
        </td>
    </tr>
    <tr>
        <td align="right">职务：</td>
        <td>
            <span name="proposal/fzr_position"><x:out
                    select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/position"/></span>
        </td>
        <td align="right">最后学位：</td>
        <td>
            <span name="proposal/fzr_degree_name"><x:out
                    select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/degree_name"/></span>

        </td>
    </tr>
    <tr>
        <td align="right" rowspan="2"><span class="color_red">*</span>联系人：</td>
        <td align="right">姓名：</td>
        <td>
            <input type="text" label="联系人-->姓名" name="proposal/contact_psn_cname"
                   class="input_css required" maxlength="50"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />">
        </td>
        <td align="right">手机：</td>
        <td>
            <input type="text" label="联系人-->手机" name="proposal/contact_psn_mobile"
                   class="input_css required mobile" maxlength="11"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />">
        </td>
    </tr>
    <tr>
        <td align="right">邮政编码：</td>
        <td>
            <input type="text" label="联系人-->邮政编码" name="proposal/contact_zip_code"
                   class="input_css required" onfocus="InitInput.setInt(this,6,0,0)"
                   value="<x:out select="$xmlData/data/proposal/contact_zip_code" />">
        </td>
        <td align="right">邮箱：</td>
        <td>
            <input type="text" label="联系人-->邮箱" name="proposal/contact_psn_email"
                   class="input_css required email" maxlength="50"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_email" />">
        </td>
    </tr>
    <tr>
        <td rowspan="3" align="right"><span class="color_red">*</span>学术（专家、技术）委员会主任：</td>
        <td align="right">姓名：</td>
        <td>
            <input type="text" label="学术（专家、技术）委员会主任-->姓名" name="proposal/aca_director_name"
                   class="input_css required" maxlength="50"
                   value="<x:out select="$xmlData/data/proposal/aca_director_name" />">
        </td>
        <td align="right">出生日期：</td>
        <td>
            <c:set var="aca_director_birthday">
                <x:out select="$xmlData/data/proposal/aca_director_birthday"/>
            </c:set>
            <cpt:date id="aca_director_birthday" name="proposal/aca_director_birthday"
                      value="${aca_director_birthday}" className="required date beforeToday"
                      label="学术（专家、技术）委员会主任-->出生日期"/>
        </td>
    </tr>
    <tr>
        <td align="right">职称：</td>
        <td>
            <c:set var="proftitlevalue1">{'id':'<x:out
                    select='$xmlData/data/proposal/aca_director_prof_title_value'/>','name':'<x:out
                    select='$xmlData/data/proposal/aca_director_prof_title_name'/>'}</c:set>
            <cpt:tree key="prof_title" cacheable="false" readonly="true" value="${proftitlevalue1}"
                      id="aca_director_prof_title" name="aca_director_prof_title" showPattern="all"
                      onClick="initTreeValueExt" shieldPattern="-1" label="学术（专家、技术）委员会主任-->职称"/>
            <input type="hidden" id="aca_director_prof_title_value"
                   name="proposal/aca_director_prof_title_value"
                   value="<x:out select='$xmlData/data/proposal/aca_director_prof_title_value' />"
                   class="required" label="学术（专家、技术）委员会主任-->职称"/>
            <input type="hidden" id="aca_director_prof_title_name"
                   name="proposal/aca_director_prof_title_name"
                   value="<x:out select='$xmlData/data/proposal/aca_director_prof_title_name' />"/>
        </td>
        <td align="right">研究领域：</td>
        <td>
            <input type="text" label="学术（专家、技术）委员会主任-->研究领域" name="proposal/aca_director_subject"
                   class="input_css required" maxlength="20"
                   value="<x:out select="$xmlData/data/proposal/aca_director_subject" />">
        </td>
    </tr>
    <tr>
        <td align="right">职务：</td>
        <td>
            <input type="text" label="学术（专家、技术）委员会主任-->职务" name="proposal/aca_director_job"
                   class="input_css required" maxlength="20"
                   value="<x:out select="$xmlData/data/proposal/aca_director_job" />">
        </td>
        <td align="right">最后学位：</td>
        <td>
            <c:set var="highest_degree">
                <x:out select="$xmlData/data/proposal/highest_degree_value"/>
            </c:set>
            <cpt:select id="highest_degree" key="highest_degree2" className="input_css"
                        name="highest_degree" onChange="initControlValue(this.id);"
                        value="${highest_degree }" style="width:85%"/>
            <input type="hidden" name="proposal/highest_degree_value" value="${highest_degree }"
                   class="input_text required" label="学术（专家、技术）委员会主任-->最后学位"/>
            <input type="hidden" name="proposal/highest_degree_name"
                   value="<x:out select="$xmlData/data/proposal/highest_degree_name" />"/>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>填报日期：</td>
        <td colspan="4">
            <c:set var="submit_date">
                <x:out select="$xmlData/data/proposal/submit_date"/>
            </c:set>
            <cpt:date id="apply_date_curr" name="proposal/submit_date" value="${submit_date}" className="required date"
                      label="填报日期"/>
        </td>
    </tr>
    <%--<tr>
        <td align="right">共建单位：</td>
        <td colspan="4">
            <input type="text" label="共建单位" name="proposal/construction_unit"
                   class="input_css required " maxlength="50"
                   value="<x:out select="$xmlData/data/proposal/construction_unit" />">
        </td>
    </tr>--%>
    <tr>
        <td align="right" rowspan="3"><span class="color_red">*</span>依托单位：</td>
        <td align="right">名称：</td>
        <td>
		<span name="organizations/organization/org_name">
				<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name"/>
			</span>
        </td>
        <td align="right">归口管理部门：</td>
        <td colspan="1">
            <c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value"/>','name':'<x:out
                    select="$xmlData/data/proposal/recomend_org_name"/>'}</c:set>
            <cpt:tree key="recommended_org" cacheable="false" className="hn_iuput_kuang " readonly="true"
                      value="${recomend_org}" id="recomend_org" showPattern="all" shieldPattern="0"
                      topCheckbox="false" onClick="initTreeValueExt"/>
            <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value" style="width: 80%;"
                   class="required" value="<x:out select="$xmlData/data/proposal/recomend_org_value" />"
                   label="依托单位-->归口管理部门">
            <input type="hidden" name="proposal/recomend_org_name" style="width: 80%;"
                   value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
        </td>
    </tr>
    <tr>
        <td align="right">性质：</td>
        <td colspan="3">
            <cpt:checkbox key="organ_type_2022" name="organ_type" tagType="radio" repeatColumn="3"
                          style="border: 0px; padding: 0px; margin: 0px;"/>
            <input type="hidden" name="proposal/organ_type_value" class="required" label="依托单位-->性质"
                   value="<x:out select="$xmlData/data/proposal/organ_type_value" />"/>
            <input type="hidden" name="proposal/organ_type_name"
                   value="<x:out select="$xmlData/data/proposal/organ_type_name" />"/>
        </td>
        </td>
        <%--<td align="right">邮政编码：</td>
        <td>
			<span name="organizations/organization/zip_code">
				<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/zip_code"/>
			</span>
        </td>--%>
    </tr>
    <tr>
        <td align="right">详细地址：</td>
        <td colspan="3">
		<span name="organizations/organization/address">
				<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/address"/>
			</span>
        </td>
    </tr>
</table>
<table class="t_css" id="basic_person" width="100%" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <col style="width: 15%"/>
    <col style="width: 15%"/>
    <col style="width: 15%"/>
    <col style="width: 15%"/>

    <tr>
        <td align="right" rowspan="2"><span class="color_red">*</span>固定人员（人）：</td>
        <td align="center">总数</td>
        <td align="center">正高</td>
        <td align="center">副高</td>
        <td align="center">博士</td>
        <td align="center">硕士</td>
    </tr>
    <tr>
        <td align="center">
            <input type="text" label="固定人员-->总数" name="proposal/total_person" id="total_person"
                   class="input_css required valueGreatEqual:total_person:total_num valueGreatEqual:total_person:total_num1"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/total_person"/>"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');
                   countFundAuto('','national_money,provincial_money,org_money','total_money');
                   countNum('','total_positive_height,total_deputy_senior','total_num');
                   countNum('','total_doctor,total_master','total_num1');person_project()"/>
        </td>
        <td align="center">
            <input type="text" label="固定人员-->正高" id="total_positive_height" name="proposal/positive_height"
                   class="input_css required " onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/positive_height"/>"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');
                   countFundAuto('','national_money,provincial_money,org_money','total_money');
                   countNum('','total_positive_height,total_deputy_senior','total_num');
                   countNum('','total_doctor,total_master','total_num1');person_project()"/>
        </td>
        <td align="center">
            <input type="text" label="固定人员-->副高" id="total_deputy_senior" name="proposal/deputy_senior"
                   class="input_css required <%--valueGreatEqual:total_person:total_deputy_senior--%>"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/deputy_senior"/>"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');
                   countFundAuto('','national_money,provincial_money,org_money','total_money');
                   countNum('','total_positive_height,total_deputy_senior','total_num');
                   countNum('','total_doctor,total_master','total_num1');person_project()"/>
        </td>
        <td align="center">
            <input type="text" label="固定人员-->博士" id="total_doctor" name="proposal/doctor"
                   class="input_css required <%--valueGreatEqual:total_person:total_doctor--%>"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/doctor"/>"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');
                   countFundAuto('','national_money,provincial_money,org_money','total_money');
                   countNum('','total_positive_height,total_deputy_senior','total_num');
                   countNum('','total_doctor,total_master','total_num1');person_project()"/>

        </td>
        <td align="center">
            <input type="text" label="固定人员-->硕士" id="total_master" name="proposal/master"
                   class="input_css required <%--valueGreatEqual:total_person:total_master--%>"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/master"/>"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');
                   countFundAuto('','national_money,provincial_money,org_money','total_money');
                   countNum('','total_positive_height,total_deputy_senior','total_num');
                   countNum('','total_doctor,total_master','total_num1');person_project()"/>

            <input type="hidden" name="proposal/total_num" id="total_num" label="固定人员-->正高和副高之和"
                   value="<x:out select="$xmlData/data/proposal/total_num"/>">
            <input type="hidden" name="proposal/total_num1" id="total_num1" label="固定人员-->博士和硕士之和"
                   value="<x:out select="$xmlData/data/proposal/total_num1"/>">

        </td>
    </tr>

</table>
<div class="t_bar">
    <span class="color_red">*</span>研究水平与贡献
</div>
<table class="t_css" id="Commitment" width="100%" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 20%"/>
    <col style="width: 12%"/>
    <col style="width: 8%"/>
    <col style="width: 14%"/>
    <col style="width: 8%"/>
    <col style="width: 15%"/>
    <col style="width: 8%"/>
    <col style="width: 15%"/>
    <tr>
        <td align="right" rowspan="8">承担科研任务情况：</td>
        <td align="right" colspan="2" rowspan="2">国家级项目、课题（项）：</td>
        <td align="right">在研：</td>
        <td>
            <input type="text" name="proposal/national_project"
                   class="required input_css valueGreatEqual:national_project:national_project_add"
                   id="national_project"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/national_project"/>" label="承担科研任务情况-->国家级项目、课题-->在研"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');person_project();"/>
        </td>
        <td align="right">实到经费（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/national_money" class="required input_css" id="national_money"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/national_money"/>" label="承担科研任务情况-->国家级项目、课题-->实到经费"
                   onchange="countFundAuto('','national_money,provincial_money,org_money','total_money');person_project()"/>
        </td>
    </tr>
    <tr>
        <td align="right">其中，新增：</td>
        <td>
            <input type="text" name="proposal/national_project_add" class="required input_css" id="national_project_add"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/national_project_add"/>"
                   label="承担科研任务情况-->国家级项目、课题-->其中，新增"/>
        </td>
        <td align="right">合同经费（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/national_money_ctr" class="required input_css" id="national_money_ctr"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/national_money_ctr"/>"
                   label="承担科研任务情况-->国家级项目、课题-->合同经费"/>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2" rowspan="2">省部级项目、课题（项）：</td>
        <td align="right">在研：</td>
        <td>
            <input type="text" name="proposal/provincial_project"
                   class="required input_css valueGreatEqual:provincial_project:provincial_project_add"
                   id="provincial_project"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/provincial_project"/>" label="承担科研任务情况-->省部级项目、课题-->在研"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');person_project()">
        </td>
        <td align="right">实到经费（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/provincial_money" class="required input_css" id="provincial_money"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/provincial_money"/>" label="承担科研任务情况-->省部级项目、课题-->实到经费"
                   onchange="countFundAuto('','national_money,provincial_money,org_money','total_money');person_project()">
        </td>
    </tr>
    <tr>
        <td align="right">其中，新增：</td>
        <td>
            <input type="text" name="proposal/provincial_project_add" class="required input_css"
                   id="provincial_project_add"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/provincial_project_add"/>"
                   label="承担科研任务情况-->省部级项目、课题-->其中，新增">
        </td>
        <td align="right">合同经费（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/provincial_money_ctr" class="required input_css" id="provincial_money_add"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/provincial_money_ctr"/>"
                   label="承担科研任务情况-->省部级项目、课题-->合同经费">
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2" rowspan="2">单位自研课题等（项）：</td>
        <td align="right">
            在研：
        </td>
        <td>
            <input type="text" name="proposal/org_project"
                   class="required input_css valueGreatEqual:org_project:org_project_add" id="org_project"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/org_project"/>" label="承担科研任务情况-->单位自研课题等-->在研"
                   onchange="countNum('','national_project,provincial_project,org_project','total_project');person_project()">
        </td>
        <td align="right">实拨经费（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/org_money" class="required input_css" id="org_money"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/org_money"/>" label="承担科研任务情况-->单位自研课题等-->实拨经费"
                   onchange="countFundAuto('','national_money,provincial_money,org_money','total_money');person_project()">
        </td>
    </tr>
    <tr>
        <td align="right">
            其中，新增：
        </td>
        <td>
            <input type="text" name="proposal/org_project_add" class="required input_css" id="org_project_add"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/org_project_add"/>" label="承担科研任务情况-->单位自研课题等-->其中，新增">
        </td>
        <td align="right">实拨经费（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/org_money_ctr" class="required input_css" id="org_money_ctr"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/org_money_ctr"/>" label="承担科研任务情况-->单位自研课题等-->实拨经费">
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">在研合计：</td>
        <td colspan="2">
            <input type="text" name="proposal/total_project" class=" input_css" id="total_project" disabled class="gray"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/total_project"/>" label="承担科研任务情况-->在研合计">
        </td>
        <td align="right">在研实到经费合计（万元）：</td>
        <td colspan="2">
            <input type="text" name="proposal/total_money" class=" input_css" id="total_money" disabled class="gray"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/total_money"/>" label="承担科研任务情况-->在研实到经费合计">
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">人均课题数量（项/人）：</td>
        <td colspan="2">
            <input type="text" name="proposal/person_project" id="person_project" disabled class="gray  input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/person_project"/>" label="承担科研任务情况-->人均课题数量">
        </td>
        <td align="right">人均课题经费（万元/人）：</td>
        <td colspan="2">
            <input type="text" name="proposal/person_money" id="person_money" disabled class="gray  input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/person_money"/>" label="承担科研任务情况-->人均课题经费">
        </td>
    </tr>

    <tr>
        <td align="right" rowspan="3">获科技奖励情况：</td>
        <td align="right">国家科技奖（项）：</td>
        <td align="right">一等奖：</td>
        <td colspan="2">
            <input type="text" name="proposal/research_findings_winning_status1_level1" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level1"/>"
                   label="获科技奖励情况-->国家科技奖-->一等奖">
        </td>
        <td align="right">二等奖：</td>
        <td colspan="3">
            <input type="text" name="proposal/research_findings_winning_status1_level2" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level2"/>"
                   label="获科技奖励情况-->国家科技奖-->二等奖">
        </td>
    </tr>
    <tr>
        <td align="right">省部级科技奖（项）：</td>
        <td align="right">一等奖：</td>
        <td>
            <input type="text" name="proposal/research_findings_winning_status2_level1" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level1"/>"
                   label="获科技奖励情况-->省部级科技奖-->一等奖">
        </td>
        <td align="right">二等奖：</td>
        <td>
            <input type="text" name="proposal/research_findings_winning_status2_level2" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level2"/>"
                   label="获科技奖励情况-->省部级科技奖-->二等奖">
        </td>
        <td align="right">三等奖：</td>
        <td>
            <input type="text" name="proposal/research_findings_winning_status2_level3" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level3"/>"
                   label="获科技奖励情况-->省部级科技奖-->三等奖">
        </td>
    </tr>
    <tr>
        <td align="right">其他科技奖（项）：</td>
        <td align="right">一等奖：</td>
        <td>
            <input type="text" name="proposal/research_findings_winning_status3_level1" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level1"/>"
                   label="获科技奖励情况-->其他科技奖-->一等奖">
        </td>
        <td align="right">二等奖：</td>
        <td>
            <input type="text" name="proposal/research_findings_winning_status3_level2" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level2"/>"
                   label="获科技奖励情况-->其他科技奖-->二等奖">
        </td>
        <td align="right">三等奖：</td>
        <td>
            <input type="text" name="proposal/research_findings_winning_status3_level3" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level3"/>"
                   label="获科技奖励情况-->其他科技奖-->三等奖">
        </td>
    </tr>

    <tr>
        <td align="right" rowspan="3">论文专著：</td>
        <td align="right" rowspan="2">发表论文（篇）：</td>
        <td align="right">SCI收录：</td>
        <td>
            <input type="text" name="proposal/achievement_condition1" id="achievement_condition1"
                   class="required input_css valueCompare:achievement_condition1:achievement_condition_total"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition1"/>" label="论文专著-->发表论文-->SCI收录">
        </td>
        <td align="right">EI收录：</td>
        <td>
            <input type="text" name="proposal/achievement_condition2" id="achievement_condition2"
                   class="required input_css valueCompare:achievement_condition2:achievement_condition_total"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition2"/>" label="论文专著-->发表论文-->EI收录">
        </td>

        <td align="right" colspan="">中文核心：</td>
        <td>
            <input type="text" name="proposal/achievement_condition4" id="achievement_condition4"
                   class="required input_css valueCompare:achievement_condition4:achievement_condition_total"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition4"/>"
                   label="论文专著-->发表论文-->中文核心">
        </td>
    </tr>
    <tr>
        <td align="right" >其他：</td>
        <td colspan="2">
            <input type="text" name="proposal/achievement_condition3" id="achievement_condition3"
                   class="required input_css valueCompare:achievement_condition3:achievement_condition_total"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition3"/>" label="论文专著-->发表论文-->其他">
        </td>
        <td align="right">合计：</td>
        <td colspan="2">
            <input type="text" name="proposal/achievement_condition_total" id="achievement_condition_total"
                   class="required input_css" onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition_total"/>"
                   label="论文专著-->发表论文-->合计">
        </td>
    </tr>
    <tr>
        <td align="right">专著（部）：</td>
        <td align="right">国内出版：</td>
        <td colspan="2">
            <input type="text" name="proposal/achievement_condition5" id="achievement_condition5"
                   class="required input_css" onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition5"/>" label="论文专著-->专著-->国内出版">
        </td>
        <td align="right" colspan="2">国外出版：</td>
        <td>
            <input type="text" name="proposal/achievement_condition6" id="achievement_condition6"
                   class="required input_css" onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/achievement_condition6"/>" label="论文专著-->专著-->国外出版">
        </td>

    </tr>

    <tr>
        <td align="right" rowspan="3">知识产权：</td>
        <td align="right">发明专利（项）：</td>
        <td align="right">授权：</td>
        <td colspan="2">
            <input type="text" name="proposal/approve" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/approve"/>"
                   label="知识产权-->发明专利-->授权">
        </td>
        <td align="right" colspan="2">申请：</td>
        <td>
            <input type="text" name="proposal/apply" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/apply"/>"
                   label="知识产权-->发明专利-->申请">
        </td>

    </tr>
    <tr>
        <td align="right" rowspan="2">标准规范（个）：</td>
        <td align="right">国际标准：</td>
        <td colspan="2">
            <input type="text" name="proposal/internation_standard" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/internation_standard"/>" label="知识产权-->标准规范-->国际标准">
        </td>
        <td align="right" colspan="2">国家标准：</td>
        <td>
            <input type="text" name="proposal/nation_standard" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/nation_standard"/>"
                   label="知识产权-->标准规范-->国家标准">
        </td>

    </tr>
    <tr>
        <td align="right">行业标准：</td>
        <td colspan="2">
            <input type="text" name="proposal/industry_standard" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/industry_standard"/>" label="知识产权-->标准规范-->行业标准">
        </td>
        <td align="right" colspan="2">地方标准：</td>
        <td>
            <input type="text" name="proposal/local_standard" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/local_standard"/>"
                   label="知识产权-->标准规范-->地方标准">
        </td>

    </tr>

    <tr>
        <td align="right" rowspan="3">产学研合作：</td>
        <td align="right" colspan="2">与高校、院所合作项目（项）：</td>
        <td colspan="2">
            <input type="text" name="proposal/cooperation_colleges" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/cooperation_colleges"/>" label="产学研合作-->与高校、院所合作项目">
        </td>
        <td align="right" colspan="2">合作经费（万元）：</td>
        <td>
            <input type="text" name="proposal/cooperation_colleges_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/cooperation_colleges_money"/>"
                   label="产学研合作-->与高校、院所合作项目-->合作经费">
        </td>

    </tr>
    <tr>
        <td align="right" colspan="2">与企业合作项目（项）：</td>
        <td colspan="2">
            <input type="text" name="proposal/cooperation_enterprise" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/cooperation_enterprise"/>" label="产学研合作-->与企业合作项目">
        </td>
        <td align="right" colspan="2">合作经费（万元）：</td>
        <td>
            <input type="text" name="proposal/cooperation_enterprise_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/cooperation_enterprise_money"/>"
                   label="产学研合作-->与企业合作项目-->合作经费">
        </td>

    </tr>
    <tr>
        <td align="right" colspan="2">其他合作项目（项）：</td>
        <td colspan="2">
            <input type="text" name="proposal/cooperation_other" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/cooperation_other"/>" label="产学研合作-->其他合作项目">
        </td>
        <td align="right" colspan="2">合作经费（万元）：</td>
        <td>
            <input type="text" name="proposal/cooperation_other_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/cooperation_other_money"/>"
                   label="产学研合作-->其他合作项目-->合作经费">
        </td>

    </tr>

    <tr>
        <td align="right" rowspan="3">行业支撑：</td>
        <td align="right" colspan="2">成果转移转化（项）：</td>
        <td colspan="2">
            <input type="text" name="proposal/transformation_achievements" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/transformation_achievements"/>" label="行业支撑-->成果转移转化">
        </td>
        <td align="right" colspan="2">转移收入（万元）：</td>
        <td>
            <input type="text" name="proposal/transformation_achievements_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/transformation_achievements_money"/>"
                   label="行业支撑-->成果转移转化-->转移收入">
        </td>

    </tr>
    <tr>
        <td align="right" colspan="2">行业技术服务（项）：</td>
        <td colspan="2">
            <input type="text" name="proposal/technical_services" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/technical_services"/>" label="行业支撑-->行业技术服务">
        </td>
        <td align="right" colspan="2">服务收入（万元）：</td>
        <td>
            <input type="text" name="proposal/technical_services_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/technical_services_money"/>"
                   label="行业支撑-->行业技术服务-->服务收入">
        </td>

    </tr>
</table>

<div class="t_bar">
    <span class="color_red">*</span>队伍建设与人才培养
</div>
<table class="t_css" id="Commitment2" width="100%" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <tr>
        <td align="right" rowspan="2">学科（学术）带头人（人）：</td>
        <td align="center">总数</td>
        <td align="center">在国际学术机构担任负责人和执委</td>
        <td align="center" colspan="">在国内学术机构担任负责人和执委</td>
        <td align="center" colspan="">在省内学术机构担任负责人和执委</td>
    </tr>
    <tr>
        <td align="center">
            <input type="text" name="proposal/subject_total_person" id="subject_total_person" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/subject_total_person"/>" label="学科（学术）带头人-->总数">
        </td>

        <td align="center">
            <input type="text" name="proposal/subject_internation_person" id="subject_internation_person"
                   class="required input_css valueCompare:subject_internation_person:subject_total_person"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/subject_internation_person"/>"
                   label="学科（学术）带头人-->在国际学术机构担任负责人和执委">
        </td>
        <td align="center">
            <input type="text" name="proposal/subject_nation_person" id="subject_nation_person"
                   class="required input_css valueCompare:subject_nation_person:subject_total_person"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/subject_nation_person"/>"
                   label="学科（学术）带头人-->在国内学术机构担任负责人和执委">
        </td>
        <td align="center">
            <input type="text" name="proposal/subject_province_person" id="subject_province_person"
                   class="required input_css valueCompare:subject_province_person:subject_total_person"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/subject_province_person"/>"
                   label="学科（学术）带头人-->在省内学术机构担任负责人和执委">
        </td>
    </tr>


    <tr>
        <td align="right" rowspan="2">吸引、培养人才（人）：</td>
        <td align="center">晋升副高职称</td>
        <td align="center">晋升正高职称</td>
        <td align="center">入选国家级人才计划</td>
        <td align="center">入选省级人才计划</td>
    </tr>
    <tr>
        <td align="center">
            <input type="text" name="proposal/promotion_senior" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/promotion_senior"/>" label="吸引、培养人才-->晋升副高职称">
        </td>

        <td align="center">
            <input type="text" name="proposal/positive_heights" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/positive_heights"/>" label="吸引、培养人才-->晋升正高职称">
        </td>
        <td align="center">
            <input type="text" name="proposal/national_talents" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/national_talents"/>" label="吸引、培养人才-->入选国家级人才计划">
        </td>
        <td align="center">
            <input type="text" name="proposal/provincial_talents" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/provincial_talents"/>" label="吸引、培养人才-->入选省级人才计划">
        </td>
    </tr>


    <tr>
        <td align="right" rowspan="2">已培养研究生（人）：</td>
        <td align="center" colspan="2">博士后</td>
        <td align="center">博士生</td>
        <td align="center">硕士生</td>
    </tr>
    <tr>
        <td align="center" colspan="2">
            <input type="text" name="proposal/culture_post_doctoral" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/culture_post_doctoral"/>" label="已培养研究生-->博士后">
        </td>

        <td align="center">
            <input type="text" name="proposal/culture_doctor" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/culture_doctor"/>"
                   label="已培养研究生-->博士生">
        </td>
        <td align="center">
            <input type="text" name="proposal/culture_master" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/culture_master"/>"
                   label="已培养研究生-->硕士生">
        </td>
    </tr>
</table>


<div class="t_bar">
    <span class="color_red">*</span>开放交流与运行管理
</div>
<table class="t_css" id="Commitment3" width="100%" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 20%"/>
    <col style="width: 13%"/>
    <col style="width: 13%"/>
    <col style="width: 13%"/>
    <col style="width: 14%"/>
    <col style="width: 13%"/>
    <col style="width: 14%"/>
    <tr>
        <td align="right" rowspan="7">开放交流：</td>
        <td align="center" colspan="2">客座人员（人次）</td>
        <td align="center" colspan="2">邀请专家讲学（人次）</td>
        <td align="center" colspan="2">主办、承办学术会议（次）</td>
    </tr>
    <tr>
        <td align="center">国外专家</td>
        <td align="center">国内专家</td>
        <td align="center">国外专家</td>
        <td align="center">国内专家</td>
        <td align="center">国际会议</td>
        <td align="center">全国性会议</td>
    </tr>
    <tr>
        <td align="center">
            <input type="text" name="proposal/guest_experts_foreign" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/guest_experts_foreign"/>" label="开放交流-->客座人员-->国外专家">
        </td>
        <td align="center">
            <input type="text" name="proposal/guest_experts_domestic" class="required input_css "
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/guest_experts_domestic"/>" label="开放交流-->客座人员-->国内专家">
        </td>
        <td align="center">
            <input type="text" name="proposal/invite_experts_foreign" class="required input_css "
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/invite_experts_foreign"/>" label="开放交流-->邀请专家讲学-->国外专家">
        </td>
        <td align="center">
            <input type="text" name="proposal/invite_experts_domestic" class="required input_css "
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/invite_experts_domestic"/>"
                   label="开放交流-->邀请专家讲学-->国内专家">
        </td>
        <td align="center">
            <input type="text" name="proposal/international_conference" class="required input_css "
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/international_conference"/>"
                   label="开放交流-->主办、承办学术会议-->国际会议">
        </td>

        <td align="center">
            <input type="text" name="proposal/national_conference" class="required input_css "
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/national_conference"/>"
                   label="开放交流-->主办、承办学术会议-->全国性会议">
        </td>
    </tr>


    <tr>
        <td align="center" colspan="3">开放课题</td>
        <td align="center" colspan="3">国际合作项目</td>
    </tr>
    <tr>
        <td align="center" colspan="2">项目数（项）</td>
        <td align="center" colspan="1">经费（万元）</td>
        <td align="center" colspan="2">项目数（项）</td>
        <td align="center" colspan="1">经费（万元）</td>
    </tr>
    <tr>
        <td align="center" colspan="2">
            <input type="text" name="proposal/open_topics_project" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/open_topics_project"/>" label="开放交流-->开放课题-->项目数">
        </td>

        <td align="center">
            <input type="text" name="proposal/open_topics_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/open_topics_money"/>" label="开放交流-->开放课题-->经费">
        </td>
        <td align="center" colspan="2">
            <input type="text" name="proposal/international_cooperative_projects" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/international_cooperative_projects"/>"
                   label="开放交流-->国际合作项目-->项目数">
        </td>
        <td align="center">
            <input type="text" name="proposal/international_cooperative_money" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/international_cooperative_money"/>"
                   label="开放交流-->国际合作项目-->经费">
        </td>
    </tr>


    <tr>
        <td align="right">仪器设施对外开放机时（小时）：</td>
        <td align="center" colspan="2">
            <input type="text" name="proposal/open_machine_time" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/open_machine_time"/>" label="开放交流-->仪器设施对外开放机时">
        </td>

        <td align="right">开展科普活动（次）：</td>
        <td align="center" colspan="2">
            <input type="text" name="proposal/popular_science_activities" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/popular_science_activities"/>" label="开放交流-->开展科普活动">
        </td>
    </tr>
</table>

<table class="t_css" id="operation_management" width="100%" border="0" cellpadding="0" cellspacing="1">
    <col style="width: 20%"/>
    <col style="width: 10%"/>
    <col style="width: 10%"/>
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <col style="width: 20%"/>
    <tr>
        <td align="right" rowspan="5">运行管理：</td>
        <td align="right" colspan="2">管理制度（项）：</td>
        <td align="center">
            <input type="text" name="proposal/management_system" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/management_system"/>" label="运行管理-->管理制度">
        </td>
        <td align="right">是否全部实施：</td>
        <td colspan="1">
            <c:set var="all_implemented"><x:out select="$xmlData/data/proposal/all_implemented_value"/></c:set>
            <cpt:checkbox key="yes_no" name="all_implemented" width="70px" repeatColumn="4" value="${all_implemented }"
                          tagType="radio"/>
            <input type="hidden" id="all_implemented" name="proposal/all_implemented_value" class="required"
                   value="${all_implemented}" label="运行管理-->是否全部实施">
            <input type="hidden" name="proposal/all_implemented_name"
                   value="<x:out select="$xmlData/data/proposal/all_implemented_name" />">
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">实验室（中心）主任聘任制：</td>
        </td>
        <td colspan="1">
            <c:set var="appointment_system"><x:out select="$xmlData/data/proposal/appointment_system_value"/></c:set>
            <cpt:checkbox key="yes_no" name="appointment_system" width="70px" repeatColumn="4"
                          value="${appointment_system }"
                          tagType="radio"/>
            <input type="hidden" id="appointment_system" name="proposal/appointment_system_value" class="required"
                   value="${appointment_system}" label="运行管理-->实验室（中心）主任聘任制">
            <input type="hidden" name="proposal/appointment_system_name"
                   value="<x:out select="$xmlData/data/proposal/appointment_system_name" />">
        </td>
        <td align="right">学术委员会是否组织活动：</td>
        <td colspan="1">
            <c:set var="report_submission"><x:out select="$xmlData/data/proposal/report_submission_value"/></c:set>
            <cpt:checkbox key="yes_no" name="report_submission" width="70px" repeatColumn="4"
                          value="${report_submission }"
                          tagType="radio"/>
            <input type="hidden" id="report_submission" name="proposal/report_submission_value" class="required"
                   value="${report_submission}" label="运行管理-->学术委员会是否组织活动">
            <input type="hidden" name="proposal/report_submission_name"
                   value="<x:out select="$xmlData/data/proposal/report_submission_name" />">
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">实验室（中心）主任年度在实验室工作时间（月）：</td>
        </td>
        <td align="center">
            <input type="text" name="proposal/work_time" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/work_time"/>"
                   label="运行管理-->实验室（中心）主任年度在实验室工作时间">
        <td align="right">大型仪器设备是否纳入共享平台：</td>
        <td colspan="1">
            <c:set var="sharing_platform"><x:out select="$xmlData/data/proposal/sharing_platform_value"/></c:set>
            <cpt:checkbox key="yes_no" name="sharing_platform" width="70px" repeatColumn="4"
                          value="${sharing_platform }"
                          tagType="radio"/>
            <input type="hidden" id="sharing_platform" name="proposal/sharing_platform_value" class="required"
                   value="${sharing_platform}" label="运行管理-->大型仪器设备是否纳入共享平台">
            <input type="hidden" name="proposal/sharing_platform_name"
                   value="<x:out select="$xmlData/data/proposal/sharing_platform_name" />">
        </td>
    </tr>
    <tr>
        <td align="center" colspan="2">场地面积（平方米）</td>
        <td align="center" colspan="1">仪器设备总原值（万元）</td>
        <td align="center" colspan="1">大型设备台数（台）</td>
        <td align="center" colspan="1">新增大型设备台数（台）</td>
    </tr>
    <tr>
        <td align="center" colspan="2">
            <input type="text" name="proposal/laboratory_area" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/laboratory_area"/>"
                   label="运行管理-->场地面积">
        </td>

        <td align="center">
            <input type="text" name="proposal/equipment_total_value " class="required input_css"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/equipment_total_value"/>" label="运行管理-->仪器设备总原值">
        </td>
        <td align="center">
            <input type="text" name="proposal/equipment_number" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%"
                   value="<x:out select="$xmlData/data/proposal/equipment_number"/>" label="运行管理-->大型设备台数">
        </td>
        <td align="center">
            <input type="text" name="proposal/new_equipment" class="required input_css"
                   onfocus="InitInput.setNumber(this,9,0,0)"
                   style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/new_equipment"/>"
                   label="运行管理-->新增大型设备台数">
        </td>
    </tr>
    <c:set var="nature_value"><x:out
            select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value"/></c:set>
    <c:if test="${fn:substring(nature_value,0,1) eq 'A'}">
        <%--<tr>

            <td align="center" colspan="2">年度</td>
            <td align="center" colspan="1">${param.statYear-3}年</td>
            <td align="center" colspan="1"><span name="proposal/select_yea2">${param.statYear-2}</span>年</td>
            <td align="center" colspan="1">${param.statYear-1}年</td>
        </tr>--%>
        <tr>
            <td align="right" rowspan="3">依托单位投入：</td>
            <td align="right" colspan="3">依托单位对实验室（中心）经费投入（万元）：</td>
            <td align="center" colspan="2">
                <input type="text" name="proposal/funding1" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/funding1"/>"
                       label="依托单位投入-->依托单位对实验室（中心）经费投入">
            </td>
            <%--<td align="center">
                <input type="text" name="proposal/funding2" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/funding2"/>"
                       label="依托单位投入-->${param.statYear-2}年度-->依托单位对实验室（中心）经费投入">
            </td>
            <td align="center">
                <input type="text" name="proposal/funding3" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/funding3"/>"
                       label="依托单位投入-->${param.statYear-1}年度-->依托单位对实验室（中心）经费投入">
            </td>--%>
        </tr>
        <tr>
            <td align="right" colspan="3">依托单位R&D经费总额（万元）（仅企业类依托单位填写）：</td>
            <td align="center" colspan="2">
                <input type="text" name="proposal/rd_funding1" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/rd_funding1"/>"
                       label="依托单位投入-->依托单位R&D经费总额">
            </td>
            <%--<td align="center">
                <input type="text" name="proposal/rd_funding2" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/rd_funding2"/>"
                       label="依托单位投入-->${param.statYear-2}年度-->依托单位R&D经费总额">
            </td>
            <td align="center">
                <input type="text" name="proposal/rd_funding3" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/rd_funding3"/>"
                       label="依托单位投入-->${param.statYear-1}年度-->依托单位R&D经费总额">
            </td>--%>
        </tr>
        <tr>
            <td align="right" colspan="3">R&D经费占销售收入比重（%）（仅企业填写）：</td>
            <td align="center" colspan="2">
                <input type="text" name="proposal/rd_proportion1" class="required input_css maxdecimal:100"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%"
                       value="<x:out select="$xmlData/data/proposal/rd_proportion1"/>"
                       label="依托单位投入-->R&D经费占销售收入比重">
            </td>
            <%--<td align="center">
                <input type="text" name="proposal/rd_proportion2" class="required input_css maxdecimal:100"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%"
                       value="<x:out select="$xmlData/data/proposal/rd_proportion2"/>"
                       label="依托单位投入-->${param.statYear-2}年度-->R&D经费占销售收入比重">
            </td>
            <td align="center">
                <input type="text" name="proposal/rd_proportion3" class="required input_css maxdecimal:100"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%"
                       value="<x:out select="$xmlData/data/proposal/rd_proportion3"/>"
                       label="依托单位投入-->${param.statYear-1}年度-->R&D经费占销售收入比重">
            </td>--%>
        </tr>
    </c:if>
    <c:if test="${fn:substring(nature_value,0,1) ne 'A'}">
        <%--<tr>

            <td align="center" colspan="2">年度</td>
            <td align="center" colspan="1">${param.statYear-3}年</td>
            <td align="center" colspan="1"><span name="proposal/select_yea2">${param.statYear-2}</span>年</td>
            <td align="center" colspan="1">${param.statYear-1}年</td>
        </tr>--%>
        <tr>
            <td align="right" rowspan="1">依托单位投入：</td>
            <td align="right" colspan="3">依托单位对实验室（中心）经费投入（万元）：</td>
            <td align="center" colspan="2">
                <input type="text" name="proposal/funding1" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/funding1"/>"
                       label="依托单位投入-->依托单位对实验室（中心）经费投入">
            </td>
            <%--<td align="center">
                <input type="text" name="proposal/funding2" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/funding2"/>"
                       label="依托单位投入-->${param.statYear-2}年度-->对实验室经费投入">
            </td>
            <td align="center">
                <input type="text" name="proposal/funding3" class="required input_css"
                       onfocus="InitInput.setNumber(this,9,2,2)"
                       style="text-align: right;width: 80%" value="<x:out select="$xmlData/data/proposal/funding3"/>"
                       label="依托单位投入-->${param.statYear-1}年度-->对实验室经费投入">
            </td>--%>
        </tr>
    </c:if>
</table>
<div class="t_bar"><span class="color_red">*</span>研究方向（限1-6条）</div>
<table id="research_direction" border="0" cellspacing="0" cellpadding="0" style="width: 100%" class="table01 t_css">
    <thead>
    <tr>
        <th align="center" width="5%">选择</th>
        <th align="center" width="5%">序号</th>
        <th align="center" width="30%">研究方向</th>
        <th align="center" width="30%">学科（学术）带头人姓名</th>
        <th align="center" width="30%">职称</th>
    </tr>
    </thead>
    <tbody id="research_direction_tab">
    <tr style="display: none" align="center">
        <td align="center">
            <input type="radio" class="radiobutton" name="selAttendOrg11">
        </td>
        <td align="center">
            <span name="research_directions|research_direction[0]@seq_no">[index]</span>
        </td>
        <td align="center">
            <input name="research_directions|research_direction[0]|direction" label="研究方向" type="text" required
                   class="input_css required maxlength:100" style="width: 80%;" maxlength="100" value=""/>
        </td>

        <td align="center">
            <input name="research_directions|research_direction[0]|leader_name" label="学科（学术）带头人姓名" type="text" required
                   class="input_css required maxlength:100" style="width: 80%;" maxlength="100" value=""/>
        </td>

        <td align="center">

            <cpt:tree key="prof_title" cacheable="false" readonly="true" value=""
                      id="aca_director_prof_title_[index]" name="aca_director_prof_title_[index]" showPattern="all"
                      onClick="initTreeValueExt" shieldPattern="-1" label="职称"/>
            <input type="hidden" id="aca_director_prof_title_[index]_value"
                   name="research_directions/research_direction[0]/title_value"
                   value=""
                   class="required" label="职称"/>
            <input type="hidden" id="aca_director_prof_title_[index]_name"
                   name="research_directions/research_direction[0]/title_name"
                   value=""/>

            <%--<input name="research_directions|research_direction[0]|title" label="职称" type="text" required
                   class="input_css required " style="width: 80%;" maxlength="100" value=""/>--%>
        </td>

    </tr>
    <c:set value="0" var="index" scope="page"/>
    <x:forEach select="$xmlData/data/research_directions/research_direction" var="research_direction">

        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page"/>
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page"/>
            </c:otherwise>
        </c:choose>
        <tr align="center">
            <td>
                <input type="radio" class="radiobutton" name="selAttendOrg11">
            </td>
            <td align="center">
					<span name="research_directions/research_direction[${flag}${index}]@seq_no">
						<x:out select="$research_direction/@seq_no"/>
					</span>
            </td>
            <td>
                <input name="research_directions/research_direction[${flag}${index}]/direction" label="研究方向" type="text"
                       required class="input_css required maxlength:100" style="width: 80%;" maxlength="100"
                       value="<x:out select="$research_direction/direction" />"/>
            </td>
            <td>
                <input name="research_directions/research_direction[${flag}${index}]/leader_name" label="学科（学术）带头人姓名"
                       type="text" required class="input_css required maxlength:100" style="width: 80%;" maxlength="100"
                       value="<x:out select="$research_direction/leader_name" />"/>
            </td>
            <td align="center">
                <c:set var="proftitlevalue1">{'id':'<x:out select="$research_direction/title_value"/>','name':'<x:out
                        select="$research_direction/title_name"/>'}</c:set>
                <cpt:tree key="prof_title" cacheable="false" readonly="true" value="${proftitlevalue1}"
                          id="aca_director_prof_title_${index+1}" name="aca_director_prof_title_${index+1}" showPattern="all"
                          onClick="initTreeValueExt" shieldPattern="-1" label="职称"/>
                <input type="hidden" id="aca_director_prof_title_${index+1}_value"
                       name="research_directions/research_direction[${flag}${index}]/title_value"
                       value="<x:out select="$research_direction/title_value" />"
                       class="required" label="职称"/>
                <input type="hidden" id="aca_director_prof_title_${index+1}_name"
                       name="research_directions/research_direction[${flag}${index}]/title_name"
                       value="<x:out select="$research_direction/title_name"/>"/>


                <%--<input name="research_directions/research_direction[${flag}${index}]/title" label="职称" type="text"
                       required class="input_css required " style="width: 80%;" maxlength="100"
                       value="<x:out select="$research_direction/title" />"/>--%>
            </td>
        </tr>
        <c:set var="beggerClass"></c:set>
        <c:set value="${index+1}" var="index" scope="page"/>
    </x:forEach>
    </tbody>
</table>

<table width="98%" class="not_table">
    <tr>
        <td>
            <input class="button_02" type="button" name="cmdAddbefore" value="添加"
                   onclick="if(checkTabLimit('research_direction',6,'研究方向最多只能填写6条')){addNewRow('research_direction');}try{top.resizeFrame();}catch(e){};checkrownum();refreshTreeIndex('research_direction',4);"/>
            <input class="button_02" name="cmdMovePrev" type="button" value="上移"
                   onclick="movePrev('research_direction');checkrownum();refreshTreeIndex('research_direction',4);"/>
            <input class="button_02" name="cmdMoveNext" type="button" value="下移"
                   onclick="moveNext('research_direction');checkrownum();refreshTreeIndex('research_direction',4);"/>
            <input class="button_02" name="cmddel" type="button" value="删除"
                   onclick="deleteSelectedRow('research_direction','研究方向');checkrownum();refreshTreeIndex('research_direction',4);"/>
        </td>
    </tr>
</table>
<div class="t_bar">
    共建单位（限0-5行）
</div>
<table id="heisi_wangkun" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0"
       style="*border-bottom: #a1c0dc 1px solid;table-layout: fixed;">
    <col width="7%"/>
    <col width="8%"/>
    <col width="85%"/>
    <thead>
    <tr style="border:1px solid #B7D1E6">
        <th class="TblHead" align="center">选择</th>
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">共建单位名称</th>
    </tr>
    </thead>
    <tbody id="tab">
    <tr style="display:none" align="center">
        <td align="center">
            <input type="radio" class="radiobutton" name="heisi_wangkun">
        </td>
        <td align="center">
            <span name="heisi_wangkun|list[0]@seq_no">[index]</span>
        </td>
        <td align="center">
            <input type="text" name="heisi_wangkun|list[0]|content" label="共建单位名称" class=" required input_text "
                   maxlength="50" style="width:80%"/>
        </td>
    </tr>

    <c:set value="0" var="index" scope="page"/>
    <x:forEach select="$xmlData/data/heisi_wangkun/list" var="list">

        <c:choose>
            <c:when test="${index<10}"><c:set value="0" var="flag" scope="page"/></c:when>
            <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
        </c:choose>
        <tr align="center">
            <td align="center">
                <input type="radio" class="radiobutton" name="heisi_wangkun">
            </td>
            <td align="center">
                <span name="heisi_wangkun/list[${flag}${index}]@seq_no"><x:out select="$list/@seq_no"/></span>
            </td>
            <td align="center">
                <input type="text" name="heisi_wangkun/list[${flag}${index}]/content"
                       value="<x:out select="$list/content"/>" label="共建单位名称" class=" required input_text " maxlength="50"
                       style="width:80%"/>
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page"/>
    </x:forEach>
    </tbody>
</table>
<table width="98%" align="center" border="0">
    <tr style="border: 0">
        <td style="border: 0">
            <input class="button_02" name="cmdAddbefore" type=button value="添加"
                   onclick="if(checkTabLimit('heisi_wangkun',5,'共建单位最多只能添加5条')){addNewRow('heisi_wangkun');try{top.resizeFrame();}catch(e){};};checkrownum()">
            <input class="button_02" name="cmdMovePrev" type=button value="上移"
                   onclick="movePrev('heisi_wangkun','heisi_wangkun')">
            <input class="button_02" name="cmdMoveNext" type=button value="下移"
                   onclick="moveNext('heisi_wangkun','heisi_wangkun')">
            <input class="button_02" name="cmddel" type=button value="删除"
                   onclick="deleteSelectedRow('heisi_wangkun','共建单位');checkrownum()">
        </td>
    </tr>
</table>
<input type="hidden" id="row_number" name="proposal/row_number">
<input type="hidden" id="row_number2" name="proposal/row_number2">
<input type="hidden" id="max_number" name="proposal/max_number">

<input type="hidden" id="if_have_org" name="proposal/if_have_org">
<script type="text/javascript">

    $(function () {
        industrial_enterprise();
        getLen();
        $("#tab1").click();
        $("#fragment-tab1 :text,#fragment-tab1 [type='date']").addClass("input_width");
        $("#fragment-tab1 select").addClass("select_width");
        /*$("table.t_css").each(function(){
            $(this).find("tr").not(".cbTable tr").filter(":even").addClass("li_1");
            $(this).find("tr").not(".cbTable tr").filter(":odd").addClass("li_2");
        });*/
        $("#completion_date").attr("placeholder","非必填")



    });

    $(document).ready(function () {
        compare_age();
        checkrownum();
        industrial_enterprise();
        if ($('input:checkbox[name="enterprise_scale"]:checked').val() == "中小企业") {
            $("#technologyEnterprise").removeAttr("disabled");
        } else {
            $("#technologyEnterprise").attr("disabled", true);
        }
    });
    $("table").addClass("table01");
    $("#checkbox_table_").removeClass("table01");
    $("#feaReport_upload").removeClass("table01");
    $('div').find("[id^='checkbox_dyn_']").find("td").css("border", '0px solid');

    function initTreeValueExt(treeId, treeNode) {
        if ((treeNode && treeNode.isParent)) {
            scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
            $("#" + treeId).val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
            return false;
        }
        var str = treeNode.name;
        var obj = treeNode.parentNode;
        while (obj != null) {
            str = obj.name + "-" + str;
            obj = obj.parentNode;
        }

        $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
    }

    /**
     * 重写重新计算行号的方法，注释掉id的动态变化，以免影响下拉树的功能
     * @param tblId
     */
    function refreshRowINdex(tblId){
        //重新计算行号


        $("#"+tblId+" tr").each(function(){

                var seq=$(this).get(0).rowIndex;//获得行数
                if(seq>1){//如果有行  显示时display行不计入类，故只减1

                    seq=seq-1;
                    var seq_no=$(this).find("[name$='seq_no']");
                    if(seq_no.is("span"))
                        seq_no.html(seq);
                    else
                        seq_no.val(seq);

                    seq=""+(seq-1);
                    if(seq.length==1)
                        seq="0"+seq;
                    //替换相应的name参数的seq
                    $(this).find("input,span,textarea,select").each(function(){
                        var name=$(this).attr("name");
                        if(name!=null&&name!=""){
                            name=name.replace(/\[\d*\]/g,"["+seq+"]");
                            $(this).attr("name",name);
                        }
                        //注释掉id变动
                        /*var id=$(this).attr("id");
                        if(id!=null&&id!=""){
                            id=id.replace(/\[\d*\]/g,"["+seq+"]");
                            $(this).attr("id",id);
                            id=id.replace(/\d+/g,""+seq+"");
                            $(this).attr("id",id);
                        }*/
                        var className=$(this).attr("class");
                        if(className!=null&&className!=""){
                            className=className.replace(/\[\d*\]/g,"["+seq+"]");
                            $(this).attr("class",className);
                        }
                    });
                }
            }
        );

    }

    function synchronizationAmount1() {
        var built_institute = $("#built_institute").val();
        if (built_institute != "") {
            $("span[id='built_institute_[00]']").html($("#built_institute").val());
            /*$("#total_fund_18").val(parseFloat($("#request_amount").val()).toFixed(2));*/
        } else if (built_institute == "") {
            $("input[id='built_institute_[00]']").html("");
        }
    }

    function setCooperationUnits() {
        var cooperation_units = "";
        $("#inland tr:gt(1)").each(function (index) {
            var cooperation_unit = $(this).find("td:eq(2) input").val().trim();
            /*var orgName = $("#org_name").val().trim();*/
            var orgName = $('span[name$="organizations/organization/org_name"]').html()
            if (!isBlankOrNull(cooperation_unit) && cooperation_unit != orgName) {
                cooperation_units += cooperation_unit + ",";
            }
            /* if(!isBlankOrNull(cooperation_unit)){
                 cooperation_units += cooperation_unit+",";
             }*/
        });
        if (cooperation_units != "") {
            cooperation_units = cooperation_units.substring(0, cooperation_units.length - 1);
        }
        $("#cooperation_units").val(cooperation_units);
    }

    /***
     * 勾选中小型企业框时打开科技型中小企业选择
     * 没有勾选时关闭科技型中小企业选择，并清除隐藏域的值
     *
     */
    function removeDisabled() {
        if ($('input:checkbox[name="enterprise_scale"]:checked').val() == "中小企业") {
            $("#technologyEnterprise").removeAttr("disabled");
        } else {
            $("#technologyEnterprise").removeAttr("checked");
            $("#technology_enterprise_value").val("");
            $("#technologyEnterprise").attr("disabled", true);
        }
    };

    function initTreeValueExt(treeId, treeNode) {
        if (!(treeNode && (treeNode.level > 0 || !treeNode.isParent))) {
            scmWarn($("#" + treeId).attr("label") + messageTip.researchAreaInvalidDisciplineCode);
            if (treeNode.level == 0) {
                $("#" + treeId).val("");
                $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
                $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val("");
                $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
            }
            return false;
        }
        var str = treeNode.name;
        var obj = treeNode.parentNode;
        while (obj != null) {
            obj = obj.parentNode;
        }
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
    }

    function compare_age() {
        var end_date = $("#age_end_date").val();
        var birthday = $("#fzbirthday").val();

        var end_date_year = Number(end_date.substring(0, 4));
        var birthday_year = Number(birthday.substring(0, 4));

        var end_date_month = Number(end_date.substring(5, 7));
        var birthday_month = Number(birthday.substring(5, 7));

        var end_date_day = Number(end_date.substring(8));
        var birthday_day = Number(birthday.substring(8));

        var different_value = end_date_year - birthday_year - 57;
        var different_value1 = end_date_month - birthday_month;
        var different_value2 = end_date_day - birthday_day;

        if (different_value > 0 || (different_value == 0 && different_value1 > 0) || (different_value == 0 && different_value1 == 0 && different_value2 > 0)) {
            $("#age").val(1);
        } else {
            $("#age").val(0);
        }
        //onchangeType2();

    }

    /*$("#industrial_enterprise_value").onchange(function(industrial_enterprise){
        var industrial_enterprise_value = $("#industrial_enterprise_value").val();
        if(industrial_enterprise_value==1){
            $("#industrial_value").val(1);
        }else{
            $("#industrial_value").val(0);
        }
    });*/

    function industrial_enterprise() {
        var industrial_enterprise_value = $("#industrial_enterprise_value").val();
        if (industrial_enterprise_value == 0) {
            $("#industrial_value").val(1);
        } else if (industrial_enterprise_value == 1) {
            $("#industrial_value").val(0);
        } else {
            $("#industrial_value").val("");
        }

    }

    function getLen() {
        var len = $("#inland tr:gt(1)").length;
        if (len >= 2) {
            $("#if_have_org").val("1");
        } else {
            $("#if_have_org").val("0");
        }
    }

    function person_project() {
        var total_project = $("#total_project").val();
        var total_person = $("#total_person").val();
        var total_money = $("#total_money").val();
        var count = (total_project * 1000) / (total_person * 1000);
        var count1 = ((total_money * 1000) / (total_person * 1000));
        $("#person_money").val(formatVal(count1));
        if (!$.isNumeric(count)) {
            count = "0";
        }
        $("#person_project").val(formatVal(count));
    }
    function formatVal(count) {
        if (!$.isNumeric(count))
            count = "0";
        count = ((parseFloat(count) * 10000) / 10000).toFixed(2);
        count = formatNumberAuto(count.toString(), 7, 2, 2);// 格式化金额
        return count;
    }
    function checkrownum() {
        var maxLinNum = $("#research_direction").find("tr").length - 1;
        if(maxLinNum ==1){
            maxLinNum=2;
        }
        var maxLinNum2 = $("#heisi_wangkun").find("tr").length - 1;
        $('#row_number').val(maxLinNum);
        $('#row_number2').val(maxLinNum2);
        var maxNum = maxLinNum + maxLinNum2 + 18;

        $('#max_number').val(maxNum);
    }


    //刷新下拉树的id序号。避免出现点击错乱或报错。参数（table:表格id，tdIndex:下拉树控件所在的td，从0下标开始）
    function refreshTreeIndex(table,tdIndex){

     $("#"+table).find("tbody tr").each(function (i,item){
         //跳过隐藏行
            if (i>0){
              var td =   $(item).find("td:eq("+parseInt(tdIndex)+")");
                   td.find("input,a,img").each(function () {
                       var id=$(this).attr("id");
                       if (id !=null && id!=''){
                           id=id.replace(/\d+/g,i);
                           $(this).attr("id",id);
                       }
                       var onclick=$(this).attr("onclick");
                       if (onclick !=null && onclick!=''){
                           onclick=onclick.replace(/\d+/g,i);
                           $(this).attr("onclick",onclick);
                       }

                       var name=$(this).attr("name");
                       if (name !=null && name!='' ){

                       if (name.indexOf("_name")!=-1 ||name.indexOf("_value")!=-1){



                       }else {
                           name=name.replace(/\d+/g,i);
                           $(this).attr("name",name);

                       }


                       }



                   });

            }

     });



 }



</script>
